package edu.sctu.practice.class02.shilaihong.text.text11;

/**
 * Created by admin on 2015/10/15.
 */
public class Main {
    public static void main(String[] args) {
        MyTime myTime = new MyTime(14, 34, 56);
        myTime.addhour(3);
        myTime.addminute(32);
        myTime.addsecond(12);
        myTime.display();
        myTime.check();
        myTime.subhour(2);
        myTime.subminute(23);
        myTime.subsecond(34);
        myTime.display();
        myTime.check();
    }
}
